﻿<%@ Page Title="Aide" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="ShoppingCart.aspx.cs" Inherits="Projet_Final_ASP.ShoppingCart" EnableEventValidation="false"  %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

    <asp:GridView ID="GridView1" runat="server">
        <Columns>
            <asp:TemplateField HeaderText="Supprimer">
                <ItemTemplate>
                  <asp:Button ID="cmdSupprimer" runat="server" Text="Supprimer" CommandArgument="<%# Container.DataItemIndex %>" CommandName="<%# Container.DataItemIndex %>" 
                  onCommand="SupprimerRow" />
                  </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    
    <br />
  
    <h4>procéder au 
        <asp:Button ID="cmdCheckout" runat="server" onclick="cmdCheckout_Click" 
            Text="Checkout" />
       </h4></asp:Content>
